import MX from '@/utils/myAxios';
import axios from 'axios';
export const getMenuByRoleAPI = (roleID) =>
  MX(`http://xawn.f3322.net:8012/role/menu/${roleID}`, 'get');
export const getCharactersAPI = (data) =>
  MX('http://xawn.f3322.net:8012/role', 'get', data);
export const addCharactersAPI = (data) =>
  MX('http://xawn.f3322.net:8012/role', 'post', data);
